# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=npapi-sdk
pkgver=0.27.2
pkgrel=1
pkgdesc="Netscape Plugin API (NPAPI)"
url="https://github.com/mgorny/npapi-sdk"
arch="all"
license="MPL"
source="https://github.com/mgorny/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="827d52fbc8eb601ac0e486aed267b1ca6cb8732c92f1224f4b38e039288b77d07d47c5d4cf384a3114403b85e7f086f345912f1b20b41d27785c9bb367514842  npapi-sdk-0.27.2.tar.bz2"
